package com.xmy.cultivate.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.SchoolQuarter;
import com.xmy.cultivate.entity.StudentAccount;
import com.xmy.cultivate.entity.response.AiSitePc;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 场地电脑 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-28
 */
public interface IAiSitePcService extends IService<AiSitePc> {

    /**
     * 获取电脑管理 使用情况列表
     */
    public Map<String, Object> useConditionList(String status, String useStatus, String studentName, String schoolId, String schoolSiteId);

    /**
     * 获取校区场地
     */
    public List<SchoolQuarter> aiSchoolSiteList(String yearPart, String quarterNum, String schoolId);

    /**
     * 调整电脑使用情况
     */
    public String updateComputerUse(AiSitePc aiSitePc);

    public Map<String, Object> getRepairReason(Long id);

    public List<StudentAccount> studentAccountList(String schoolId, String studentName, String account, String yearPart, String quarterNum);
}
